package cn.com.dcsgo.confit;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * ES商品数据导入配置类
 *
 * @author Dcsgo
 * @since 2025/10/25 10:18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@RefreshScope
@ConfigurationProperties(prefix = "es-import")
public class EsImportConfig {
    /**
     * 是否启用全量导入
     */
    private Boolean flag;
}
